def getEntity(entityLabel: str, ontoInstance):
    """Retrieve an ontology entity based on their label.

    Parameters
    ----------
    entityLabel : str
        Label for searching.
    ontoInstance : type
        Owlready2 loaded ontology.
    """
    res = ontoInstance.search(label=entityLabel)
    if len(res) == 1:
        return res[0]
    else:
        return False