You may have to wait for a survey of the property to determine this. On established homes, however, a previous survey should show this information. Insure the entire fence, including posts, are within the property line. Some homeowners like to hide utility areas or boxes with fencing. If the utility company needs access, you may have to remove a portion of the fence.
Some fences come with electronic gate openers.
This may cause problems in future years as trees and shrubs mature. With established homes, trees and shrubs may already be too close to the house, or oversized for their location. Full-sized, quality landscape trees should be no closer than 15 ft. Watch for shrub species which will outgrow their location. Know the growth habits of your plants.