check if hash is empty in opts for surfaces