original_string: public function isUserTwoFactorAuthEnabled($userId) {
          $result = DB::table('users')
              ->where('id', '=', $userId)
              ->value('two_factor_auth_enabled')
          ;
  
          if ($result) {
              return true;
          }
          return false;
      }
code: public function isUserTwoFactorAuthEnabled($userId) {
          $result = DB::table('users')
              ->where('id', '=', $userId)
              ->value('two_factor_auth_enabled')
          ;
  
          if ($result) {
              return true;
          }
          return false;
      }
code_tokens: public function isUserTwoFactorAuthEnabled ( $ userId ) { $ result = DB :: table ( 'users' ) -> where ( 'id' , '=' , $ userId ) -> value ( 'two_factor_auth_enabled' ) ; if ( $ result ) { return true ; } return false ; }
docstring: Is user enabled for Two Factor Authorization
  
  @param  int    $userId          User ID
  @return bool
docstring_tokens: Is user enabled for Two Factor Authorization