Fast detection of chaotic behavior in galactic potentials