add method to check whether form requires encryption of data, for https://github.com/MartijnR/enketo/issues/281