Tidied up
dirty field tests for attribute arrays