adding suport to list of enum with has function

fixes #8