def dependency_check():
 if (not pysftp):
  raise plugin.DependencyError(issued_by=u'sftp', missing=u'pysftp', message=u'sftp plugin requires the pysftp Python module.')

def dependency_check ( ) : if ( not pysftp ) : raise plugin . DependencyError ( issued_by = u'sftp' , missing = u'pysftp' , message = u'sftp plugin requires the pysftp Python module.' )
this dependency check function uses the information stored in the platforms module to call the function in core .