<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def is_current(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)