original_string: private function isInstanceOf($value, $classFQN)
      {
          return is_object($value)
          && (strtolower(get_class($value)) === strtolower($classFQN) || \is_subclass_of($value, $classFQN, true));
      }
code: private function isInstanceOf($value, $classFQN)
      {
          return is_object($value)
          && (strtolower(get_class($value)) === strtolower($classFQN) || \is_subclass_of($value, $classFQN, true));
      }
code_tokens: private function isInstanceOf ( $ value , $ classFQN ) { return is_object ( $ value ) && ( strtolower ( get_class ( $ value ) ) === strtolower ( $ classFQN ) || \ is_subclass_of ( $ value , $ classFQN , true ) ) ; }
docstring: Check if a class is instance or extends from the expected instance.
  
  @param mixed  $value
  @param string $classFQN
  
  @return bool
docstring_tokens: Check if a class is instance or extends from the expected instance .