Determine whether the current contents are valid

def _is_valid(self, log: Optional[Logger] = None) -> bool:
        """ Determine whether the current contents are valid """
        return self._validate(self, log)[0]