Check for existence of functions before declaring

This is good for when we try to reload .vimrc using ```:so $MYVIMRC```