public function checkInternalMethod($className, $methodName)
{
if (!class_exists($className, false)) {
return false;
}
if (method_exists($className, $methodName)) {
$method = new ReflectionMethod($className, $methodName);
return $method->isInternal();
}
return false;
}