(self)
Returns True if the UNIX user for this project exists.
Returns True if the UNIX user for this project exists.
Returns True if the UNIX user for this project exists .
def user_exists(self):
        """
        Returns True if the UNIX user for this project exists.
        """
        try:
            cmd(['id', self.username])  # id returns a non-zero status <==> user exists
            return True
        except RuntimeError:
            return False
def user_exists ( self ) : try : cmd ( [ 'id' , self . username ] ) # id returns a non-zero status <==> user exists return True except RuntimeError : return False