As long as an idea is not publically known, then it can be patented. However, if it has been disclosed to the public by the inventor, then a one-year grace period may apply in some countries, such as the United States and Canada.