code: def file_contains(self, *args, **kwargs):
          
          from fabric.contrib.files import contains
          return contains(*args, **kwargs)
docs: filename text
          http://docs.fabfile.org/en/1.13/api/contrib/files.html#fabric.contrib.files.contains