Added hasRequiredParameters() method
Changed to use sd.hasRequiredParameters()