renamed to is_valid_coor()
added shebang
use is_valid_coor() in get()
use None instead of 'none' for fields