added function to check if ParameterPort(name) exists in Component