Get the language :class:`language_tags.Subtag.Subtag` of the tag.

        :return: language :class:`language_tags.Subtag.Subtag` that is part of the tag.
            The return can be None.

def language(self):
        """
        Get the language :class:`language_tags.Subtag.Subtag` of the tag.

        :return: language :class:`language_tags.Subtag.Subtag` that is part of the tag.
            The return can be None.
        """

        language_item = [subtag for subtag in self.subtags if subtag.type == 'language']

        return language_item[0] if len(language_item) > 0 else None