Internal function to see if a version is func than what we have
        determined to be talking to.  This is very useful for newer API calls
        to make sure we don't accidentally make a call to something that
        doesnt exist.

def _revcheck(self, func, version):
        '''
        Internal function to see if a version is func than what we have
        determined to be talking to.  This is very useful for newer API calls
        to make sure we don't accidentally make a call to something that
        doesnt exist.
        '''
        current = self._revint(self.version)
        check = self._revint(version)
        if func in ('lt', '<=',):
            return check <= current
        elif func in ('gt', '>='):
            return check >= current
        elif func in ('eq', '=', 'equals'):
            return check == current
        else:
            return False