You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: new_phone_form.rb
    path of file: ./repos/identity-idp/app/forms
    
    the code of the file until where you have to start completion: class NewPhoneForm
  include ActiveModel::Model
  include FormPhoneValidator
  include OtpDeliveryPreferenceValidator

  BLOCKED_PHONE_TYPES = [
    :premium_r
    
  def validate_recaptcha_token
    return if !validate_recaptcha_token? || recaptcha_validator.valid?(recaptcha_token)
    errors.add(
      :recaptcha_token,
      I18n.t('errors.messages.invalid_recaptcha_token'),
      type: :invalid_recaptcha_token,
    )
  end