Yes. Homeowners must keep their property safe for visitors. If you were invited or had a reason to be there, and you got hurt due to a hazard the owner knew about or should have known about, you may have a case.