Version: latest
agrag.candidates.patch.declares_property
declares_property(schema:GraphSchema, entity_label:str, name:str) -> bool
Check whether an entity type directly declares a property.
Parameters:
- schema (
GraphSchema) – Schema containing entity definitions. - entity_label (
str) – Entity type to check. - name (
str) – Property name to find.
Returns:
bool– Whether the entity type directly defines the property.