Cleanup: avoid duplicated test that lpost is Posterior or LogLikelihood
Cleanup: avoid duplicated test that lpost is Posterior or LogLikelihood

evandromr/stingray,abigailStev/stingray,StingraySoftware/stingray,pabell/stingray