original_string: public static function isOneOf($value, iterable $choices): bool
      {
          foreach ($choices as $choice) {
              if ($value === $choice) {
                  return true;
              }
          }
  
          return false;
      }
code: public static function isOneOf($value, iterable $choices): bool
      {
          foreach ($choices as $choice) {
              if ($value === $choice) {
                  return true;
              }
          }
  
          return false;
      }
code_tokens: public static function isOneOf ( $ value , iterable $ choices ) : bool { foreach ( $ choices as $ choice ) { if ( $ value === $ choice ) { return true ; } } return false ; }
docstring: Checks if value is one of a set of choices
  
  @param mixed    $value   The value
  @param iterable $choices The choices
  
  @return bool
docstring_tokens: Checks if value is one of a set of choices