original_string: public static function isValidUploadFile(string $uploadField, array $arrMimeType = array(), Request $request) : bool
      {
          $uploadedFile = self::getFileSafe($uploadField, $request);
  
          if (!is_a($uploadedFile, UploadedFile::class)) {
              return false;
          }
  
          return UploadedFileHelper::isValidUploadFile($uploadedFile, $arrMimeType);
      }
code: public static function isValidUploadFile(string $uploadField, array $arrMimeType = array(), Request $request) : bool
      {
          $uploadedFile = self::getFileSafe($uploadField, $request);
  
          if (!is_a($uploadedFile, UploadedFile::class)) {
              return false;
          }
  
          return UploadedFileHelper::isValidUploadFile($uploadedFile, $arrMimeType);
      }
code_tokens: public static function isValidUploadFile ( string $ uploadField , array $ arrMimeType = array ( ) , Request $ request ) : bool { $ uploadedFile = self :: getFileSafe ( $ uploadField , $ request ) ; if ( ! is_a ( $ uploadedFile , UploadedFile :: class ) ) { return false ; } return UploadedFileHelper :: isValidUploadFile ( $ uploadedFile , $ arrMimeType ) ; }
docstring: Check if uploaded File is valid and has a valid Mime Type.
  Return true is all ok, otherwise return false.
  @param string $uploadField
  @param array $arrMimeType
  @param Request $request
  @return bool
docstring_tokens: Check if uploaded File is valid and has a valid Mime Type . Return true is all ok otherwise return false .