def METHOD_NAME(self, after, before):
    if self._end and after and self._end < after:
        return False
    if self._start and before and self._start > before:
        return False
    return True