'Detect if a type
:return: a boolean'

def _is_valid_scan(self):

    if (self._scan is not None):
        return self._scan
    if self._ordering:
        return False
    if self._facets:
        return False
    return True
