It sounds like it, but it also depends on whether you’re consuming any calories during that timeframe where you aren’t eating! So beverages with calories (ie. milk, juice) for example could break the fast. I know people define IF differently but this is how I understand it!