Required ports

Figure out if an input port is required and set the metadata accordingly