Test that the index field is not empty

We have a case where it is possible that someone is passing in data that may or may not have been saved to our DB already. In this case these index fields may be empty as such there is no reason to try to retrieve it.
@gnat42 `empty` does the same as isset does, but `empty` will also check if the variable is empty.