checks if all entries of internal_list are an expression or integer. Throws an error if not (internal docu)
Useful links