Hello Adhitya,
if the primary goes down and the interface is not up/up on the router the primary static is automatically removed and then later added when the link is restored.
However, if there is a problem in the provider network that makes the primary link useless but still up/up the static route is still there.
To cover this types of indirect failures you can take advantage of reliable static routing with object tracking
see
http://www.cisco.com/en/US/docs/ios/12_3/12_3x/12_3xe/feature/guide/dbackupx.html
this includes the usage of probes to test for example ip connectivity to DNS server in provider1 network and other possible tests.
the exact configuration is release dependent for the probes as you can see in the document.
Hope to help
Giuseppe