Added function for checking the type of an ExpressionPointer