module Doorkeeper::Models::Accessible

def accessible?

Returns:
  • (Boolean) - true if object accessible or false in other case
def accessible?
  !expired? && !revoked?
end