check type and content for options array