src/pybel/parser/parse_metadata.py
def has_annotation(self, annotation: str) -> bool:
        """Check if this annotation is defined."""
        return (
            self.has_enumerated_annotation(annotation)
            or self.has_regex_annotation(annotation)
            or self.has_local_annotation(annotation)
        )
Check if this annotation is defined.
Check if this annotation is defined.
Check if this annotation is defined .
def has_annotation(self, annotation: str) -> bool:
        return (
            self.has_enumerated_annotation(annotation)
            or self.has_regex_annotation(annotation)
            or self.has_local_annotation(annotation)
        )
def has_annotation ( self , annotation : str ) -> bool : return ( self . has_enumerated_annotation ( annotation ) or self . has_regex_annotation ( annotation ) or self . has_local_annotation ( annotation ) )
Check if this annotation is defined.
Check if this annotation is defined .
"""Check if this annotation is defined."""
self
annotation
str