adds check to see if a dragon exists before performing any other
functions