check for constants of Source class