how to check an ip address is local : <p>Here is code:</p>

<pre><code>def isSrsInternal(srcip):
    here i want to write code to check that srcip is local source to thet network  or not
    if srcip is local than it will return true 
    else return false
</code></pre>

<p>1 Can anyone give me the idea to writing that function</p>
