def is_ontology_metadata(convention, metadatum):
    """Check if metadata is ontology from metadata convention
    """
    try:
        return bool(convention["properties"][metadatum]["ontology"])
    except KeyError:
        return False