@classmethod
def fromstring(cls, value):
    """Return the state object attribute that matches the string
        :param str value: the string to look up
        :return: the state object attribute that matches the string
        :rtype: str
        """
    return getattr(cls, value.upper(), None)
