Check for sdpvar or ndsdpvar paramater