removed unused 'is_context' property

This commit is contained in:
Jakub Trllo 2022-08-12 13:55:35 +02:00
parent 089cd3f9fa
commit aefb992ce5

View file

@ -465,23 +465,6 @@ class AbstractPlaceholder:
return self.data["loader"]
@property
def is_context(self):
"""Check if is placeholder context type.
context_asset: For loading current asset
linked_asset: For loading linked assets
Question:
There seems to be more build options and this property is not used,
should be removed?
Returns:
bool: true if placeholder is a context placeholder
"""
return self.builder_type == "context_asset"
@property
def is_valid(self):
"""Test validity of placeholder.