Added method and test for Spektral.objectHasKey