Wrote int isOptionSet(int option)