Checks both the types and the values of all instance variables and raises an exception if something is off.
- KeyError: If an unsupported instance variable is
TypeError: If any instance variable is of wrong type.
- ValueError: If any instance variable does not match its
possible choices (string) or is out of the expected bounds (numerical).
This method is triggered at the end of the __init__ constructor and every time a function communicating with the getML engine - except
refresh()- is called.