has_scope implementation for use with Grape