code: function validateIfDeprecated (directives) {
    if (!directives.length) {
      return false
    }
  
    return directives.some(directive => directive.name.value === 'deprecated')
  }
docs: Check if a field is deprecated
  @param directives - Receive the directives array
  @returns {boolean}