add is_sample_loaded?
Merge pull request #265 from jweather/issampleloaded

add is_sample_loaded?