Jennifer Lopez said men under the age of 33 are "useless" in an episode of Tinder's "Swipe Sessions" video series.

She also ruled out a guy who said he doesn't keep ketchup in the refrigerator.

A dating expert said Lopez's advice regarding age is actually pretty solid.

If you've ever tried to find love on a dating app, you know that the process, with its seemingly endless slog of potential matches to swipe through, can be exhausting. But what if you had a guardian angel to guide you through the swiping process? And what if that guardian angel happened to be Jennifer Lopez?

In a new episode of Tinder's "Swipe Sessions" video series, Lopez helped Brooke, a 29-year-old country singer, weed through her possible Tinder suitors. Brooke said she wanted a type of guy who could "chop wood," so, while swiping though some of Brooke's options — in which she nixed a guy for having a bio that read, "If you store ketchup in the refrigerator, it's not going to work out" — Lopez doled out some sage dating advice.

"Guys, until they're 33, are really useless," Lopez said.

According to Jane Greer, a New York-based relationship expert and the author of "What About Me? Stop Selfishness From Ruining Your Relationship," Lopez's advice is actually pretty solid — especially if you're specifically looking for commitment.

"It can take men into their early 30s to establish their professional career and feel a sense of financial stability, which helps them feel more secure in life," Greer told INSIDER. "As a result, this can give them the maturity that comes with accomplishment, experience, and success."

This doesn't mean guys in their 20s should automatically be off-limits. But it does offer an explanation as to why some men seem to make a sudden shift in their ability to commit around the time they turn 30.

"Sometimes you see a guy who's been in several relationships, but then, in his early 30s, suddenly he meets a woman and is ready to marry her," Greer told INSIDER.

While Lopez's advice might not work for everyone, knowing your worth and having standards that match up to it never hurt anyone. In any case, next time you're swiping around on a dating app, if you ask yourself one question, it might as well be this — what would Jennifer Lopez do?

Sign up here to get INSIDER's favorite stories straight to your inbox.