While having these four types of moats, or competitive advantages, as guidelines is helpful, there is still a lot of art to determining whether a firm has a moat. At the heart of it, the harder it is for a firm's advantage to be imitated, the more likely it is to have a barrier to entry in its industry and a defensible source of profit.