Helper Function to check valid RFP input
checkRFP(class)
class,
the given class of RFP object
NULL, stop if invalid object