How to check if coordinate inside certain area Python : <p>Lets say I have 2 kind of coordinate, first called <code>center_point</code> and second called <code>test_point</code>. I want to know if <code>test_point</code> coordinate is inside near or not to <code>center_point</code> coordinate by applying <code>radius</code> threshold. If I write it, its like:</p>

<pre><code>center_point = [{'lat': -7.7940023, 'lng': 110.3656535}]
test_point = [{'lat': -7.79457, 'lng': 110.36563}]

radius = 5 # in kilometer
</code></pre>

<p>How to check if the <code>test_point</code> inside or outside the radius from <code>center_point</code> in Python? how I perform this kind task in Python?</p>

<p>Result expected will say that <code>test_point</code> inside or outside the <code>radius</code> from <code>center_point</code> coordinate.</p>
