def METHOD_NAME(cls, target: Class) -> Optional[Extension]:
    """Search for any target class extensions that is a circular
    reference."""
    for ext in target.extensions:
        if ext.type.name == target.name:
            return ext
    return None