Depends on you, the type of relationship you’re looking for, and how you connect with the person. When I was 21 a guy approached me who had a 6 year old looking for a serious relationship and I declined because I knew if I approached him seriously,eventually I would have to get to know and build a relationship with his child and that wasn’t what I was looking for. So if that’s not what you are at this point in your life, or any point it’s perfectly fine to be honest about it in my opinion.