<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_role(self, role):
 """ Returns a Role object representing the specified parameter. The 'role' parameter can be either an existing Role object, or the ID of the role. If an invalid role is passed, a NotFound exception is raised. """

        uri = "OS-KSADM/roles/%s" % utils.get_id(role)
        resp, resp_body = self.method_get(uri)
        role = Role(self, resp_body.get("role"))
        return role