i am trying to do a if statement that determines if the model coming from the controller has with an id contains the record with certain value.
for example: does the