def is_valid_timerange(self):
try:<EOL><INDENT>self.validate_time_inversion()<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>return False<EOL><DEDENT>return self.is_set()<EOL>
:return:
    |True| if the time range is
    not null and not time inversion.
:rtype: bool

:Sample Code:
    .. code:: python

        from datetimerange import DateTimeRange
        time_range = DateTimeRange()
        print(time_range.is_valid_timerange())
        time_range.set_time_range("2015-03-22T10:20:00+0900", "2015-03-22T10:10:00+0900")
        print(time_range.is_valid_timerange())
        time_range.set_time_range("2015-03-22T10:00:00+0900", "2015-03-22T10:10:00+0900")
        print(time_range.is_valid_timerange())
:Output:
    .. parsed-literal::

        False
        False
        True

.. seealso::
    :py:meth:`.is_set`
    :py:meth:`.validate_time_inversion`