Rename variables none/empty to isNone/isEmpty

Really small changes, this PR renames the variables: 

- none to isNone 
- empty to isEmpty

It makes the code easier to read.