gets current value of EPANET global variable Openflag
getOpenflag()
primary use of this function is to allow package functions to check status of toolkit before calling a function
boolean