@staticmethod
def to_bool(value):
    """Convert value to bool.

        Args:
            value (bool|str): The value to convert to boolean.

        Returns:
            bool: The boolean value
        """
    return str(value).lower() in ['1', 't', 'true', 'y', 'yes']
