Implemented isParamRef() function that checks if parameter is be ref.