def METHOD_NAME(self, paths=None):
    """Return true if dependency is present and up-to-date on 'paths'"""
    version = self.get_version(paths)
    if version is None:
        return False
    return self.version_ok(version)