The Great JCache Pull request :)

instanceof should take care of the null check.