No need to check for null, `null instanceof AnyClass` is always false.