Added "is" function to core.v4.