hasattr added

Signed-off-by: jayrambhia <jayrambhia777@gmail.com>
Merge pull request #522 from jayrambhia/Main/versionchecks

Issue regarding siftkeypoints version removed.