Checking whether schema is required on input_script, and disabling
schema input when not required.