minor
added function is_form. To test