Returns the enumeration item regarding to the attribute name and value,
        or None if not found for the given cls

        :param attr_name: str: attribute's name
        :param attr_value: different values: key to search for
        :return: Enumeration Item

def _from_attr_(mcs, cls, attr_name: str, attr_value: Any) -> TypeVar:
        """
        Returns the enumeration item regarding to the attribute name and value,
        or None if not found for the given cls

        :param attr_name: str: attribute's name
        :param attr_value: different values: key to search for
        :return: Enumeration Item
        """
        return next(iter(filter(lambda x: getattr(x, attr_name) == attr_value,
                                list(cls))), None)