checking if last word starts with hashes